var env = 'prod';
// var env = 'test';
// var host = "";
// var gtphost ="";
// var yimahost ="";
// var bpshost ="";
// var sys_invitecode=77889900;
// var sys_imtoken_id = 'aabbccddMID1';
// if (env == 'prod'){
//    host = "https://rgs.lawei-tech.com/";
//    gtphost = "https://gtp.lawei-tech.com/";
//    yimahost = "https://www.yima882.com/";
//    bpshost = "http://www.ytzxwang.com/";
//    qiniuhost = "http://rgsqn.lawei-tech.com/"
// }else{
//    host = "https://rgs.tiaocheng-tech.com/";
//    gtphost = "https://gtp.tiaocheng-tech.com/";
//    yimahost = "http://yima.tiaocheng-tech.com/";
//    bpshost = "http://dev.ytzxwang.com/";
//    qiniuhost = "http://rgsqn.tiaocheng-tech.com/"
// }

var host = "http://97.74.82.48/";
// var host = "http://192.168.20.6/";

var app = host + 'app/';
var wap = host + 'wap/';
var URL = {
    /*----crh----*/
    getHomeData: app +'home/index',
    getUserinfo: app + 'user/getUserInfo',
    getAccounts: app +'account/getAccounts',
    delAccount: app +'account/delAccount',
    addAccount: app +'account/addAccount',
    updPassword: app +'account/updPassword',
    updLoginPassword: app +'user/updPassword',
    changePwd: app +'user/changePwd',
    sendCode: app +'user/sendCode',
    updUserInfo: app +'user/updUserInfo',
    login:app + 'user/login',
    codelogin:app + 'user/codelogin',
    coderegister:app + 'user/codeRegister',
    upMemberEdit:app + 'level/upMemberEdit',
    oauthLogin:app + 'user/oauthLogin',
    oauthRegister:app + 'user/oauthRegister',
    getBindInfos:app + 'user/getBindInfos',
    oauthBind:app + 'user/oauthBind',
    getInviteCode:app + 'user/getInviteCode',
    verifyCode:app + 'user/verify',
    about_us:wap + 'home/about_us',
    renownDetail:app + "user/renownDetail",
    quitClan:app +'im/quitClan',
    searchClan:app +'im/searchClan',
    myExtend:app +'member/myExtend',
    getMemberLevelsInfo:app +'im/getMemberLevelsInfo',
    updateClan:app +'im/updateClan',
    addClanMember:app +'im/addClanMember',
    forgetPwd:app +'user/forgetPwd',
    buyProp:app +'game/buyProp',
    sacrifice:app +'game/sacrifice',
    getSignInfo:app +'game/getSignInfo',
    sign:app +'game/sign',
    sendFeedback:app +'Feedback/send',
    getRenownCount:app + 'member/getRenownCount',
    getWalletinfo:app + 'user/getWalletinfo',
    getWithdrawTotal:app + 'withdraw/total',
    setPassword:app + 'account/setPassword',
    withdraw:app + 'withdraw/apply',
    getWithdrawDetail:app + 'withdraw/detail',
    getRechargeDetail:app + 'recharge/detail',
    getsign:app + 'user/getsign',
    setsign:app + 'user/setsign',
    getinfo:app + 'home/getinfo',
    getrank:app + 'home/getrank',
    votepro:app + 'home/votepro',
    nextpro:app + 'home/nextpro',
    getawardinfo:app + 'user/getawardinfo',
    getindex:app + 'user/getindex',
    importcoin:app + 'withdraw/importcoin',
    exportcoin:app + 'withdraw/exportcoin',
    walletdetail:app + 'withdraw/walletdetail',
    getwallet:app + 'user/getwallet',
    getHelpList:app + 'essay/getHelpList',
    openEssayWeb:wap + 'home/essay_detail',
    setnewcount:app + 'user/setnewcount',
    getlixi:app + 'user/getlixi',
    allmachine:app + 'machine/index',
    mymachine:app + 'machine/mymachine',
    buymachine:app + 'machine/buymachine',
    setmachineaward:app + 'machine/setmachineaward',
    getincometotal:app + 'machine/getincometotal',
    uploadpayimage:app + 'user/uploadpayimage',
    /*----wwj----*/
    getCategoryList: app +"searchcategory/getCategorysLevel1",
    baseData : app + "init/getBaseData",
    getFriendsByKeyWords: app + "im/getFriendsByKeyWords",
    updateMemberNickName: app + "im/updateMemberNickName",

};
